import type { TableHeader , operationInstance } from "@/components/dzs-table/@types";

export const TABALE_HEADER: TableHeader[] = [
    {
        label: "用户昵称",
        key: "username",
        width : "200px"
    },
    {
        label: "用户头像",
        key: "icon",
        isSlot: true
    },
    {
        label: "用户电话",
        key: "tel",
    },
    {
        label: "用户邮箱",
        key: "email",
    },
    {
        label: "用户来源",
        key: "types"
    },
    {
        label: "是否禁止登录",
        key: "is_stop",
        isSlot: true
    },
    {
        label: "创建人",
        key: "createByUser",
    },
    {
        label: "添加时间",
        key: "addtime",
    }
];

export const operation : Array<operationInstance> = ["edit", 'delete' , 'detail'];
